package com.example.helloword.Lombok;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import java.util.HashMap;


//@Builder
@SuperBuilder
@Getter
@ToString(callSuper = true)
@Setter
public class Whf231 extends BaseWhf2 {
    private Integer age;
    private String name;
    @Builder.Default
    private HashMap<Integer, String> map = new HashMap<>();

    public static void main(String[] args) {

        Whf231 ret = Whf231.builder()
                .type1(1)
                .boby("11")
                .age(12)
                .name("name").build();
        ret.map.put(1, "11");
        System.out.println(ret);
    }
}
